apiready = function() {
seajs.use(['../../../V',"../../../api","../../../jquery","../../../app","../../../service","../../../swiper"],function(V,$api,$,app,service,Swiper){
  var el = document.querySelector('.container');
  var vm = {
    el: el,
    data: {

    },
    created: function () {
      console.log('on firstPage');

    },
    mounted: function(){
      this.initSwiper();
    },
    methods: {
      initSwiper: function(){
        console.log('swiper');
        var mySwiper = new Swiper('.swiper-container', {
                pagination: {
                  el: '.swiper-pagination',
                },
                on:{
                  slideChangeTransitionStart: function(){
                    if(this.activeIndex == 2){
                      $('.exp_frame').css("display","block");
                    }else{
                      $('.exp_frame').css("display","none");
                    }
                  },
                },
            });
      },
      startApp: function(){
        app.is_login();
      }
    }
  }
  var even = function() {}
  var newVue = new Vue(vm);
  even();
});

}
